package com.changli07._interface.jdk8;

public class SubClassTest {
    public static void main(String[] args) {
        //可以使用接口 直接调用,
        CompareA.compare();
        SubClass sub = new SubClass();
        sub.method1();
        sub.method2();
    }
}
